package com.sm.model;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.Date;

public class Coupon {

  private Integer couponId;
  private String couponName;
  private Integer couponMoney;
  @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
  private Date couponEnd;
  private Integer couponRange;
  private Integer threshold;
  private Integer limitNum;
  private Integer statu;
  private Integer userId;


  public Integer getCouponId() {
    return couponId;
  }

  public void setCouponId(Integer couponId) {
    this.couponId = couponId;
  }

  public String getCouponName() {
    return couponName;
  }

  public void setCouponName(String couponName) {
    this.couponName = couponName;
  }

  public Integer getCouponMoney() {
    return couponMoney;
  }

  public void setCouponMoney(Integer couponMoney) {
    this.couponMoney = couponMoney;
  }

  public Date getCouponEnd() {
    return couponEnd;
  }

  public void setCouponEnd(Date couponEnd) {
    this.couponEnd = couponEnd;
  }

  public Integer getCouponRange() {
    return couponRange;
  }

  public void setCouponRange(Integer couponRange) {
    this.couponRange = couponRange;
  }

  public Integer getThreshold() {
    return threshold;
  }

  public void setThreshold(Integer threshold) {
    this.threshold = threshold;
  }

  public Integer getLimitNum() {
    return limitNum;
  }

  public void setLimitNum(Integer limitNum) {
    this.limitNum = limitNum;
  }

  public Integer getStatu() {
    return statu;
  }

  public void setStatu(Integer statu) {
    this.statu = statu;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }
}
